import Layout from "@/layout"

const recordRouter = {
  path: "/record",
  component: Layout,
  alwaysShow: true,
  name: "健康档案",
  redirect: "/record/personal-record",
  meta: {
    title: "健康档案",
    icon: "record"
  },
  children: [
    {
      path: "personal-record",
      component: () => import("@/views/record/personal-record/index.vue"),
      name: "个人档案管理",
      meta: {
        title: "个人档案管理",
        icon: "user"
      }
    },
    {
      path: "family-files",
      name: "家庭档案管理",
      component: () => import("@/views/record/family-files/index.vue"),
      meta: {
        title: "家庭档案管理",
        icon: "personal-files"
      }
    }, // 家庭档案管理
    {
      // 健康体检
      path: "healthtest",
      name: "健康体检",
      component: () => import("@/views/record/healthtest/index.vue"),
      meta: {
        title: "健康体检",
        icon: "tijian"
      }
    },
    {
      // 健康体检
      path: "healthtestshow",
      name: "健康体检演示",
      component: () => import("@/views/record/healthtest-show/index.vue"),
      meta: {
        title: "健康体检演示",
        icon: "tijian"
      }
    },
    {
      // 异地服务
      path: "remote-service",
      name: "异地服务",
      component: () => import("@/views/record/remote-service/index.vue"),
      meta: {
        title: "异地服务",
        icon: "personal-files"
      }
    },
    {
      // 档案查重合并
      path: "files-checking",
      name: "档案查重合并",
      component: () => import("@/views/record/files-checking/index.vue"),
      meta: {
        title: "档案查重合并",
        icon: "personal-files"
      }
    },
    {
      path: "diseases",
      name: "档案状态变更查询",
      component: () => import("@/views/record/diseases/index.vue"),
      meta: {
        title: "档案状态变更查询",
        icon: "search"
      }
    },
    {
      path: "file-organ",
      name: "档案机构变更",
      component: () => import("@/views/record/file-organ/index.vue"),
      meta: {
        title: "档案机构变更",
        icon: "files"
      }
    },
    {
      path: "file-move",
      name: "档案迁入申请",
      component: () => import("@/views/record/file-move/index.vue"),
      meta: {
        title: "档案迁入申请",
        icon: "files"
      }
    },
    {
      // 档案迁移审核
      path: "migration-audit",
      name: "档案迁移审核",
      component: () => import("@/views/record/migration-audit/index.vue"),
      meta: {
        title: "档案迁移审核",
        icon: "examine"
      }
    },
    {
      // 档案机构变更审核
      path: "change-audit",
      name: "档案机构变更审核",
      component: () => import("@/views/record/change-audit/index.vue"),
      meta: {
        title: "档案机构变更审核",
        icon: "examine"
      }
    },
    {
      // 健康档案状态查询
      path: "health-status",
      name: "健康档案状态查询",
      component: () => import("@/views/record/health-status/index.vue"),
      meta: {
        title: "健康档案状态查询",
        icon: "search"
      }
    },
    {
      // 公安数据查询
      path: "communal-data",
      name: "公安数据查询",
      component: () => import("@/views/record/communal-data/index.vue"),
      meta: {
        title: "公安数据查询",
        icon: "search"
      }
    },
    {
      // 人口库查询
      path: "population-bank",
      name: "人口库查询",
      component: () => import("@/views/record/population-bank/index.vue"),
      meta: {
        title: "人口库查询",
        icon: "search"
      }
    },
    {
      path: "file-designation",
      name: "档案指定",
      component: () => import("@/views/record/file-designation/index.vue"),
      meta: {
        title: "档案指定",
        icon: "zhidian"
      }
    },
    {
      // 随访体检审核
      path: "follow-audit",
      name: "随访体检审核",
      component: () => import("@/views/record/follow-audit/index.vue"),
      meta: {
        title: "随访体检审核",
        icon: "examine"
      }
    },
    {
      // 随访体检审核信息查询
      path: "follow-physical-examination",
      name: "随访体检审核信息查询",
      component: () =>
        import("@/views/record/follow-physical-examination/index.vue"),
      meta: {
        title: "随访体检审核信息查询",
        icon: "search"
      }
    }
  ]
}
export default recordRouter
